﻿# Run As Administrator

Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC"				-Name "AllowOnlySecureRpcCalls"				-Value 0;	# set to 1 for Mutual Authentication Required
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC"				-Name "FallbackToUnsecureRPCIfNecessary"	-Value 0;	# set to 1 for Incoming Caller Authentication Required
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC"				-Name "TurnOffRpcSecurity"					-Value 1;	# set to 1 for No Authentication Required
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccess"					-Value 1;	# 
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccessAdmin"				-Value 0;	# 
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccessClients"				-Value 1;	# 
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccessInbound"				-Value 1;	# 
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccessOutbound"			-Value 1;	# 
Set-ItemProperty -Path "HKLM:\Software\Microsoft\MSDTC\Security"	-Name "NetworkDtcAccessTransactions"		-Value 1;	# 
Restart-Service MSDTC -Verbose;